<?php
/* vim: set ts=4 sw=4: */
/*
* @package
* @filename	   SmartPHP_AllTests.php
* @author	   Garfield <garfield0601@gmail.com>
* @copyright 	
* @version 
* @since  	   2008-5-26 18:05:12
* 
*/
if (!defined('PHPUnit_MAIN_METHOD'))
{    
	define('PHPUnit_MAIN_METHOD', 'SmartPHP_AllTests::main');
} 
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php'; 
require_once 'Db/SelectTest.php';

class SmartPHP_AllTests
{    
	public static function main()    
	{        
		PHPUnit_TextUI_TestRunner::run(self::suite());    
	}     

	public static function suite()    
	{        
		$suite = new PHPUnit_Framework_TestSuite('Tests SmartPHP');         
		$suite->addTestSuite('SmartPHP_Db_SelectTest');        
		return $suite;    
	}
}

if (PHPUnit_MAIN_METHOD == 'Framework_AllTests::main') 
{
	SmartPHP_AllTests::main();
}
?>
